var app = angular.module('app', ['ngRoute'])
	.config(['$routeProvider', function($routeProvider){
		$routeProvider
		.when('/', {templateUrl: 'home.html'})
		.when('/url1', {templateUrl: 'url1.html', controller: 'url1Controller'})
		.when('/url2', {templateUrl: 'url2.html', controller: 'url2Controller'})
		.otherwise({template: '默认页面'});
}]);

$server = 'http://127.0.0.1:8081';
